﻿using Uniforax.Core.Skills;

namespace Uniforax.Camp.TestData.SmallStake
{
    public class SmallStakeSkillManager : BaseSkillManager
    {
        public SmallStakeAttack SmallStakeAttack => _smallStakeAttack;
        private SmallStakeAttack _smallStakeAttack;

        private BaseSkill[] _skills;

        public SmallStakeSkillManager()
        {
            _smallStakeAttack = new SmallStakeAttack();
            _skills = [_smallStakeAttack];
        }

        public override IEnumerable<BaseSkill> GetSkills()
        {
            return _skills;
        }



        public override BaseSkill GetSkill(string name)
        {
            if (string.Equals(name, _smallStakeAttack.SkillId))
            {
                return _smallStakeAttack;
            }
            return base.GetSkill(name);
        }
    }
}
